﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExtensionControls
{
    public class Person
    {
        public string Name;
        public string Surname;
        public string City;
        public bool Man; //gender

        public Person() : this("", "", "", false) { }

        public Person(string Name, string Surname, string City, bool isMan)
        {
            this.Name = Name;
            this.Surname = Surname;
            this.City = City;
            this.Man = isMan;
        }

        public string SayHello()
        {
            return "Hello \n I'm " + this.Name + " " + this.Surname + " \n I'm from " + this.City + " and I'm " + ((this.Man) ? "man" : "female");
        }
    }
}
